copyTo

Copies an image into another image

  1. Image2 copyTo(Image1 input, Image2 destination)
    @trusted
    Image2
    copyTo
    (
    Image1
    Image2
    )
    (
    ref Image1 input
    ,)
    if (
    is(Image1 == struct) &&
    !is(Image2 == struct)
    &&
    !isPointer!Image1
    &&
    isImage!Image1
    &&
    isImage!Image2
    )
  2. Image2 copyTo(Image1 input, Image2 destination)
  3. Image2 copyTo(Image1 input, Image2 destination)

Parameters

input Image1

The input image

destination Image2

The output image

Return Value

Type: Image2

The destination image for composibility reasons

Meta